Repository navigation
App Viewer: Add to Tronbyt - #982
Open
saltedlolly wants to merge 2 commits into
Open
saltedlolly wants to merge 2 commits into
saltedlolly wants to merge 2 commits into
Conversation
- Add Tronbyt Server: enter your server's address and select Continue. The server opens in a new tab, you sign in if asked, and it comes straight back, confirming the address is a Tronbyt Server. The address is kept in this browser only. - Add to Tronbyt on each app (on the home page once a server is saved) opens the server's install page for that app, <server>/apps/<app>/install, where you pick the device. Nothing is sent to the server except that link. - install/<app> pages: shareable install links that go straight to the app on the visitor's own server, or ask for the server first. Copy install link in the Add to Tronbyt button's menu (the share sheet on phones). - Server addresses are checked before opening: local addresses get http and port 8000 when none is given (19191 for umbrel.local).
This was referenced Dec 2, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Add to Tronbyt to the App Viewer. It works with the server's new install page (tronbyt/server#1036).
Please merge after a server release that includes tronbyt/server#1036. The dialog says "Requires Tronbyt Server v2.x.x or later" in two places; I'll put in the real version then. Older servers can't use the feature: after sign-in they show their home page instead of coming back, and the dialog explains that.
How it works
<server>/apps/<app>/install, the server's own page, where you pick the device. The App Viewer sends nothing else to the server: no app data, no commands, nothing that installs anything.apps.tronbyt.com/install/<app>goes straight to that app on the visitor's own server, or asks for their server first. App authors can put one in a README, or you can send one to a friend. Copy install link is in the ▾ menu on the Add to Tronbyt button (the share sheet on phones).http://gets http, plus port 8000 if none is given (19191 forumbrel.local, the Umbrel app's port). Public addresses must use https.Everything stays static: nothing new runs on apps.tronbyt.com.
Files
server-url.js(+ tests): checking and tidying the server address, the install link, and the one-time check.main.js: the server dialog, the saved server, the Add to Tronbyt button and menu, and install links.generate-apps-json.js: generates theinstall/<app>pages.style.cssand the three HTML pages: the dialog and buttons.The deploy workflow on
mainalso needs to copyserver-url.js: #983.Testing
npm testinapp-viewer(52 tests).